package com.example.mapper;

import com.example.domain.Goods;
import com.example.domain.Option;

import java.util.List;

public interface GoodsMapper {

    int deleteByPrimaryKey(Long id);

    int insert(Goods record);

    int insertSelective(Goods record);

    Goods selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Goods record);

    int updateByPrimaryKey(Goods record);

    List<Option> selectGoodsOptions();

    List<Goods> selectList(Goods goods);
}
